package com.hdu.kdk_es_orm.core;

public enum FilterType {
    NESTED("nested"),
    // name = '王'
    EQ("eq"),
    // name != '王'
    NOT_EQ("not-eq"),
    // name in ('王','李')
    IN("in"),
    // name not in ('王','李')
    NOT_IN("not-in"),
    // >, <, >=, <=
    RANGE("range"),
    NOT_RANGE("not-range"),
    // name is not null
    EXISTS("exists"),
    // name is null
    NOT_EXISTS("not-exists"),
    EXP("exp"),
    // LIKE '%王%'
    LIKE("like"),
    // NOT LIKE '%王%'
    NOT_LIKE("not-like"),
    // name LIKE '%王'    ggghhhhn
    LIKE_LEFT("like-left"),
    // name LIKE '王%'
    LIKE_RIGHT("like-right"),
    // name NOT LIKE '%王'
    NOT_LIKE_LEFT("not-like-left"),
    // name NOT LIKE '王%'
    NOT_LIKE_RIGHT("not-like-right");


    private final String value;

    FilterType(String value) {
        this.value = value;
    }
}

